﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="QL_KQthi.aspx.cs" Inherits="DOAN.Admin.QL_KQthi" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content-right">
        <div class="title_right">
            <p class="fs24 cl2 fi font_time">
                <img src="../Imagine/icon_right_title.png" />Kết quả thi</p>
        </div>
        <div class="register mart22">
            <asp:Label ID="lblLoi" runat="server" Text=""></asp:Label>
        </div>
         <div class="register  mart22">
        <div class="label"> <asp:Label ID="Label5" runat="server" Text="Môn học"></asp:Label></div>
         <div class="text_box"> 
             <asp:DropDownList ID="drMonhoc" runat="server" 
                 onselectedindexchanged="drMonhoc_SelectedIndexChanged">
             </asp:DropDownList>
                          <asp:Button ID="btChon" runat="server" Text="Chọn" 
                 onclick="btChon_Click" />

            </div>
         </div>
       
         <div class="register  mart22">
           <div class="label"> <asp:Label ID="Label2" runat="server" Text="Lớp"></asp:Label></div>
         <div class="text_box">  <asp:TextBox ID="txtLop" runat="server" Width="178px"></asp:TextBox>
         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Chưa nhập lớp"
                ValidationGroup="test" ControlToValidate="txtLop" Display="Dynamic"></asp:RequiredFieldValidator>
         </div>
         </div>  
         <div class="register  mart22">
          <div class="label"> <asp:Label ID="Label3" runat="server" Text="Ngày thi"></asp:Label></div>
         <div class="text_box"> 
             <asp:Calendar ID="Calendar1" runat="server" Height="16px" Width="268px"></asp:Calendar>
         </div>
        </div>  
        <div class="register mart10">
            <asp:Button ID="btXemKQ" runat="server" Text="Đồng ý" onclick="btXemKQ_Click" ValidationGroup="test" />
        </div>
        <div class="register mart22">
            <asp:GridView runat="server" ID="griKetqua" AutoGenerateColumns="False" 
                EmptyDataText="Không có dữ liệu !" AllowPaging="True" 
                        OnPageIndexChanging="gridCauhoi_PageIndexChanging"
                    CellPadding="4" GridLines="None" Width="679px" ForeColor="#333333" PageSize="10" 
                    >
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:TemplateField HeaderText="Mã đề thi ">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblmadt" Text='<%#DataBinder.Eval(Container.DataItem,"Madethi") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                        <asp:TemplateField HeaderText="Họ và tên ">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblmagv" Text='<%#DataBinder.Eval(Container.DataItem,"Hovaten") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText=" Ngày thi">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblTieude" Text='<%#DataBinder.Eval(Container.DataItem,"Ngaythi") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:TemplateField HeaderText="Tổng điểm">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblSocau" Text='<%#DataBinder.Eval(Container.DataItem,"Tongdiem") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                       
                    </Columns>
                    <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <div class="register mart10">
            <asp:Button ID="Button1" runat="server" Text="Export excel" onclick="btexport2"  />
        </div>
        </div>
    </div>
</asp:Content>

